﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace GogsWeb.Api
{
    public class LoginInfo
    {

        //[Display(Name = "用户名")]
        //[MaxLength(50)]
        //[Required(ErrorMessage = "用户名不能为空")]
        public string UserName { get; set; }

        //[MaxLength(50)]
        //[Display(Name = "密码")]
        //[Required(ErrorMessage = "密码不能为空")]
        public string Password { get; set; }

        //[MaxLength(6)]
        //[Display(Name = "验证码")]
        //[Required(ErrorMessage = "验证码不能为空")]
        //public string VerificationCode { get; set; }
        //[Required(ErrorMessage = "参数不完整")]
        /// <summary>
        /// 2020.06.12增加验证码
        /// </summary>
        //public string UUID { get; set; }
    }
}
